package shop.services.common;

import shop.core.common.dao.page.PagerModel;

import java.math.BigDecimal;

/**
*礼卷
*/
public class Voucher extends PagerModel {
    //主键
    private String id;
    //名称
    private String name;
    //类型（代金卷cash、优惠卷discount）
    private String type;
    //限制金额（满减）
    private BigDecimal limitMoney;
    //减免金额
    private BigDecimal money;
    //开始日期
    private String startDate;
    //结束日期
    private String endDate;
    //介绍
    private String introduce;
    //打折比例
    private BigDecimal discount;
    //有效期
    private Integer indate;
    //兑换所需积分
    private BigDecimal score;
    //库存
    private Integer stock;
    //图片
    private String picture;
    //是否在积分商城显示（y显示、n不显示）
    private String status;
    //生成方式（front微信生成、manage后台生成）
    private String createType;
    //二维码
    private String qrCode;
    //创建时间
    private String createTime;
    //创建者
    private String createUser;
    //更新时间
    private String updateTime;
    //更新者
    private String updateUser;

    public void setId(String id){
        this.id = id;
    }

    public String getId(){
        return this.id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setType(String type){
        this.type = type;
    }

    public String getType(){
        return this.type;
    }

    public BigDecimal getLimitMoney() {
        return limitMoney;
    }

    public void setLimitMoney(BigDecimal limitMoney) {
        this.limitMoney = limitMoney;
    }

    public void setMoney(BigDecimal money){
        this.money = money;
    }

    public BigDecimal getMoney(){
        return this.money;
    }

    public void setStartDate(String startDate){
        this.startDate = startDate;
    }

    public String getStartDate(){
        return this.startDate;
    }

    public void setEndDate(String endDate){
        this.endDate = endDate;
    }

    public String getEndDate(){
        return this.endDate;
    }

    public void setIntroduce(String introduce){
        this.introduce = introduce;
    }

    public String getIntroduce(){
        return this.introduce;
    }

    public void setDiscount(BigDecimal discount){
        this.discount = discount;
    }

    public BigDecimal getDiscount(){
        return this.discount;
    }

    public void setIndate(Integer indate){
        this.indate = indate;
    }

    public Integer getIndate(){
        return this.indate;
    }

    public void setScore(BigDecimal score){
        this.score = score;
    }

    public BigDecimal getScore(){
        return this.score;
    }

    public void setStock(Integer stock){
        this.stock = stock;
    }

    public Integer getStock(){
        return this.stock;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public void setStatus(String status){
        this.status = status;
    }

    public String getStatus(){
        return this.status;
    }

    public String getCreateType() {
        return createType;
    }

    public void setCreateType(String createType) {
        this.createType = createType;
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }

    public String getCreateTime(){
        return this.createTime;
    }

    public void setCreateUser(String createUser){
        this.createUser = createUser;
    }

    public String getCreateUser(){
        return this.createUser;
    }

    public void setUpdateTime(String updateTime){
        this.updateTime = updateTime;
    }

    public String getUpdateTime(){
        return this.updateTime;
    }

    public void setUpdateUser(String updateUser){
        this.updateUser = updateUser;
    }

    public String getUpdateUser(){
        return this.updateUser;
    }

}
